package com.jxwifi.cloud.quickclean.orderdetails;

import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RatingBar;
import android.widget.RelativeLayout;
import android.widget.ScrollView;
import android.widget.TextView;

import com.idroid.widget.CircleImageView;
import com.view.SuperSwipeRefreshLayout;

public interface OrderDetailsView {

    RelativeLayout getRelImgDian();

    String getOrderCode();//订单编号

    LinearLayout getWorkBenchTime();//计时布局

    TextView getTimeHours();//计时布局-小时

    TextView getTimeMines();//计时布局-分钟

    TextView getIncomeText();//计时布局-费用

    RelativeLayout getCleaning();//保洁员布局

    CircleImageView getCircle();//头像

    TextView getCleaningLocation();

    RatingBar getRatingBar();

    TextView getCleaningName();

    RelativeLayout getPayment();//付款结算布局

    TextView getTailMoney();//尾款金额

    RelativeLayout getDetailsCenter();//详情信息

    RelativeLayout getDetailsStarts();//订单状态

    TextView getDetailsProcess();//订单状态描述

    TextView getStartsTime();//订单状态时间

    TextView getDetailsDeposit();//订单详情-订金

    TextView getDetailsCleaner();//订单详情-保洁类型

    TextView getServiceTimes();//订单详情-服务时间

    TextView getAddressContent();//订单详情-服务地址

    TextView getDetailsPhone();//订单详情-电话

    TextView getDetailsNumber();//订单详情-订单编号

    TextView getDetailsSize();//订单详情-面积

    TextView getExplainReturn();//订单详情-订金退还

    TextView getExplain();//定时详情-费用说明

    TextView getInTheDispatch();//派单中

    TextView getPaymentOfBills();//已派单

    TextView getHavingSetOut();//已出发

    TextView getDetailsArrived();//已到达

    TextView getBeginning();//已开始

    TextView getCompleted();//已完成

    ImageView getImgInTheDispatch();//派单中_图标

    ImageView getImgPaymentOfBills();//已派单_图标

    ImageView getImgHavingSetOut();//已出发_图标

    ImageView getImgDetailsArrived();//已到达_图标

    ImageView getImgBeginning();//已开始_图标

    ImageView getImgCompleted();//已完成_图标

    TextView getTitlebarText();//订单标题

    TextView getCleaningPhone();

    TextView getChangeTime();//修改服务时间

    ScrollView getSvOrderDetails();

    SuperSwipeRefreshLayout getSwip();

    void onFailure(int errorCode, String msg);

    void onSuccess(int errorCode, String msg);

    void onData();

    void onServiceDetails();

    void oninitgettime();

    void onpriceDetail();

    void onOrderCancle(String cancelReason);

    void oninittell();

    void onEvaluateData(int grade, String title);

    void onShowToster();

    void onIsFinished(boolean finished);

    void onByNoMoney();

    void onCoupons();

    void NoMoney();

    void onByCoupon();

    void OnonPaySurplus(String PayType);

    void getWXPayCode(String mOutTradNo);

    TextView getCleaningReward();

    TextView getCollection();

    void OnPayReward(String rewardCode, String PayType, String PayPrice);

    void getServiceTime(String serviceTime);

}
